package br.unicamp.ic.lsd;

import javax.jws.WebService;

import br.unicamp.ic.lsd.exceptions.EException;
import br.unicamp.ic.lsd.exceptions.FException;
import br.unicamp.ic.lsd.exceptions.IException;

@WebService
public interface ServiceTwo {
    public String methodOneWSTwo(int k) throws IException;

    public String methodTwoWSTwo(int k) throws EException;

    public String methodThreeWSTwo(int k) throws FException;

    boolean isIExceptionThrow();

    void setIExceptionThrow(boolean iExceptionThrow);

    boolean isEExceptionThrow();

    void setEExceptionThrow(boolean eExceptionThrow);

    boolean isFExceptionThrow();

    void setFExceptionThrow(boolean fExceptionThrow);

    long getTimeoutMethodOne();

    void setTimeoutMethodOne(long timeoutMethodOne);

    long getTimeoutMethodTwo();

    void setTimeoutMethodTwo(long timeoutMethodTwo);

    long getTimeoutMethodThree();

    void setTimeoutMethodThree(long timeoutMethodThree);
}
